package com.juben.svr.domain.Enum;

public enum WorkScriptState {
    作品正常("0"),
    锁定或屏蔽("1");
    private final String value;
    WorkScriptState(String value){
        this.value = value;
    }
    public String getValue(){
        return value;
    }
    public static WorkScriptState fromValue(String value){
        for(WorkScriptState state : WorkScriptState.values()){
            if(state.getValue().equals(value)){
                return state;

            }

        }
        return null;
    }
}
